import java.io.*;

public class SystemInDemo {
    public static void main(String[] args) throws IOException {
        InputStream in = System.in;
        BufferedReader br = new BufferedReader(new InputStreamReader(in)); // 把标准输入流 转换为 字符输入流
        System.out.println("Please input a string :");
        String line = br.readLine();
        System.out.println("The string you input is : " + line);

        System.out.println("Please input an Int number : ");
        String i = br.readLine();
        int x  = Integer.parseInt(i) ;
        System.out.println("The number you input is : " + x);
    }
}
